import request from '@/utils/request'


export function getTuoPanlist(data) {//托盘列表
  return request({
    url: '/tuopan/queryTuopanPage',
    method: 'post',
    data,
  })
}
export function getTuoPanALL(data) {//托盘列表非分页
  return request({
    url: '/tuopan/queryTuopanList',
    method: 'post',
    data,
  })
}
export function getTuoPanWuzi(data) {//托盘物资
  return request({
    url: '/tuopan/queryTuopanWuziById',
    method: 'post',
    headers: { 'content-Type': 'multipart/form-data' },
    data,
  })
}
export function getHuoWeiALL(data) {//货位列表非分页
  return request({
    url: '/huowei/query',
    method: 'post',
    data,
  })
}
export function getHuoWeilist(data) {//货位列表
  return request({
    url: '/huowei/queryHuoweiPage',
    method: 'post',
    data,
  })
}
export function getHuoWeiallUser(data) {//货位列表
  return request({
    url: '/huowei/queryHuoweiListBf',
    method: 'post',
    data,
  })
}
export function getHuoWeilistBykfid(data) {//货位列表通过库房id
  return request({
    url: '/huowei/queryHuoweiList',
    method: 'post',
    data,
  })
}

export function getcangkulist(data) {//仓库列表
  return request({
    url: '/cangku/queryCangkuList',
    method: 'post',
    data,
  })
}

export function getlistWZZYAll(data) {//物资分类列表   queryWuzizyList
  return request({
    url: '/wuzizy/queryWuzizyList',
    method: 'post',
    data,
  })
}
export function getlistWZZY(data) {//物资分类列表   queryWuzizyList
  return request({
    url: '/yonghuzy/getYonghuzyList',
    method: 'post',
    data,
  })
}
export function getlistWZZYPage(data) {//物资分类Page   queryWuzizyPage
  return request({
    url: '/wuzizy/queryWuzizyPage',
    method: 'post',
    data,
  })
}
export function getlistZGDW(data) {//主管单位列表 
  return request({
    url: '/zhuguandw/queryZhuguandwList',
    method: 'post',
    data,
  })
}
export function getlistZGDWPage(data) {//主管单位分页
  return request({
    url: '/zhuguandw/queryZhuguandwPage',
    method: 'post',
    data,
  })
}
export function delZhuguandw(data) {//主管单位删除
  return request({
    url: '/zhuguandw/deleteZhuguandw',
    method: 'post',
    headers: { 'content-Type': 'multipart/form-data' },
    data,
  })
}
export function insertZhuguandw(data) {//主管单位添加
  return request({
    url: '/zhuguandw/insertZhuguandw',
    method: 'post',
    data,
  })
}
export function updateZhuguandw(data) {//主管单位更新
  return request({
    url: '/zhuguandw/updateZhuguandw',
    method: 'post',
    data,
  })
}
export function getlistZBDJ(data) {//储备等级列表 
  return request({
    url: '/chubeidj/queryChubeidjList',
    method: 'post',
    data,
  })
}

export function getCKlxlist(data) {//出库类型列表 
  return request({
    url: '/chukulx/queryChukulxList',
    method: 'post',
    data,
  })
}

export function getWzqf(data) {//物资区分列表 
  return request({
    url: '/wuziqf/queryWuziqfList',
    method: 'post',
    data,
  })
}
export function getKflist(data) {//物资区分列表 
  return request({
    url: '/kufang/queryKufangPage',
    method: 'post',
    data,
  })
}
export function getYhKflist(data) {//用户库房
  return request({
    url: '/yonghukf/getYonghukfList',
    method: 'post',
    data,
  })
}
